package com.xwdeshj.repository;

import com.xwdeshj.entity.XwCrowd;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by BKWJA on 2018/12/21.
 * 农家乐，景区适合人群类型
 */
public interface XwCrowdRepository extends JpaRepository<XwCrowd,Integer> {

    //根据农家乐，景区适合人群类型加密id，查询该对应的记录信息
    public XwCrowd findByCrowdEncryptid(String crowd_encryptId);

    //根据农家乐，景区适合人群类型加密id，删除该对应的记录信息
    public int deleteByCrowdEncryptid(String crowd_encryptId);

}
